BRUSSELS — The 27 leaders of the European Union gave on Thursday their most explicit endorsement yet of the contentious project of outsourcing migration policy, even if they offered scant details on