Obama consults with Iraqi leaders, visits troops.