3 dead as train derails over state highway