A train crash that killed a passenger could have been avoided if the driver had used an emergency brake system, an investigation has found.