South Africa’s troubled rand has turned the corner against the US dollar