Orban’s determination to keep out migrants and refugees, including by building razor-wire border fences, has angered his fellow European Union leaders and complicated their task as the EU struggles to cope with an influx of 1.4 million people since the start of 2015, many fleeing conflicts like the war in Syria.