European Union leaders want to close off the illegal migration routes from Libya across the central Mediterranean, where thousands have died trying to reach the EU, the EU foreign affairs chief Federica Mogherini says.