As ISIS Loosens Grip, U.S. and Iraq Prepare for Grinding Insurgency