Cyril Ramaphosa led the ANC to victory, though with the party’s lowest margin since 1994.