Iraq’s prime minister has finally declared victory over Islamic State militants in Mosul, but the eight-month operation carried out by Iraqi forces with the support of the US-led coalition has left most of the city in ruins and caused a humanitarian catastrophe. With thousands of civilians dead and more than 900,000 displaced, the city has paid a high price for liberation.