The civil war in Syria, now spanning almost half a decade, and the Islamic State’s territorial advances there have led to the world’s worst refugee crisis in decades. More than 4.7 million Syrians have left their homeland, pouring into neighboring countries as well as Europe.