The changes come as migrants’ pathways across the Mediterranean evolve to make Spain the busiest gateway into Europe.