Gov . Mitt Romney of Massachusetts , a Republican who is expected to run for his party 's presidential nomination in 2008 , pulled his state out of the agreement yesterday , hours before the deadline for reaching an agreement , and just before announcing that he would not run for a second term next year .