Thursday’s election is just six months after deadly protests against unemployment, corruption and inequality swept the nation, prompted by a ban on social media sites.