The European Union is set to end the navy patrols aimed at preventing migrants from making the perilous Mediterranean Sea crossing from North Africa to Europe.