FM, EU commissioner discuss legal pathways for migration