South Africa’s ruling African National Congress was on track to maintain its majority in parliamentary elections on Friday, though the vote saw flagging support for Nelson Mandela’s legendary liberation party and a boost for smaller parties at more extreme ends of the political spectrum.