How Iran closed the Mosul ‘horseshoe’ and changed Iraq war