US forces to remain in Iraq ‘for necessity’