South Africa election: ANC on course to lose majority