Ex-South African president withdraws bid to halt trial