As ISIL’s ‘caliphate’ crumbles, its ideology remains