20 of more than 100 trains were identified as transporting hazardous materials, the railroad owner Norfolk Southern said.