Don’t forget about seeking Iran’s help with “stabilizing” Iraq. Yes, he did it before Obama.
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.