Trump is playing his 5D chess again. he is really putting them in an awkward position. i don't think the Iraqi's are stupid enough to really want us to leave. as the referendum they passed earlier was non-binding and as such, merely symbolic in my estimation. they have to know that if we leave, they are essentially handing the country over to Iran.
plus there is also another factor to consider here... if we leave, we ruin any route we currently have to Syria.