When Islamic State swept through Iraq and Syria last year, posting its conquests on social media, it drew thousands of foreign fighters from across the world to join its ranks. But it also drew some