Some of the worst recent violence against migrants in South Africa - who many locals accuse of taking their jobs - happens in neighbourhoods of extreme poverty.