President Obama declares an end to Iraq war