Isis caliphate defeated: Victory declared as Islamic State loses last of its territory