Isis faces exodus of foreign fighters as its ‘caliphate’ crumbles