Migrant crisis: EU leaders agree plan to stop Libya influx