The deal struck by Catalonia's pro-independence party and Spain's government would transfer control of migration to the ...