A car of the Maya Train in Mexico’s Yucatan Peninsula derailed after an automated switch tripped while the train was passing