Rescuers and volunteers have pulled at least 78 dead miners and more than 160 survivors from an abandoned South African gold mine, where they languished for months during a standoff with authorities who demanded they surrender to police because they were mining illegally.