South African Economy Averts Recession as Mining Sector Rebounds