A delegation of Spanish officials plans to fly to Mauritania Thursday to discuss the migrant situation .