US adjusting to longer, more difficult fight in Iraq