The decision to go to war was a dangerous wager that force could achieve what diplomacy couldn't — and it'll likely cause the president trouble come November.