Most migrants have returned to neighbouring Morocco, but as many as 5,000 remain in the Spanish exclave.