South Africa loosens virus lockdown