Trooper’s dashcam captures the terrifying moment a train slams into a semitrailer