When Barack Obama was running for president in 2008 as the anti-Iraq-war candidate, it all seemed so easy. He'd wind down the war, pull out the troops and leave Iraqis to sort out their own country, with the help of American "advisers" - whatever that word means.