Last month’s wave of anti-immigrant violence in South Africa forced thousands of foreigners there to seek refuge in police stations and camps and now South Africa wants them to return to their homes