Iraq military’s limits are showing in the drawn-out battle for Mosul