Iraqi lawmakers agreed late Wednesday to meet on forming a new government as Kurdish and Shiite officials said an agreement had been reached that would allow Prime Minister Nouri al-Maliki to keep his job. If confirmed, the deal would break a nearly eight-month impasse that has paralyzed the government and raised fears insurgents were taking advantage of the political deadlock to stoke violence.