Election of Cyril Ramaphosa as ANC chief rocks delegates