Spain's People's Party government plans to link legal work visas to migrant home countries' cooperation on deportations and border control.