The death toll from a passenger train derailment in southern India has risen to at least 77 people , after rescue workers retrieved more bodies from the mangled wreckage .