When the dam was overrun by Isil in August last year, there were fears that the extremist group would try to blow it up, unleashing a tidal wave of water which could have hit Baghdad, 240 miles to the south, and other cities downstream on the Tigris River.