Rather than withdraw, a small force of US troops will operate out of the Ain al-Asad Air Base, Iraq's prime minister said.