I think that was more a way to tell the Iranians that we were not going to stay to run Iraq and that all they had to do was wait their turn and exercise influence via their Shia allies in Iraq.
That it certainly was.
It also appears to have been the cornerstone upon which the JCPOA rests.