South African withdrew its long-delayed draft legislation for the mining and petroleum industries and plans to come up with separate laws to govern the two.