The main military operation to destroy Isil is near, but the war against extremist is far from over