In Iraq, Kurdish and Iraqi forces - backed by the US-led coalition - have succeeded in pushing the fighters out of most of the major cities it once held, but are facing determined resistance in Mosul, the group's last urban stronghold in the country.