A train derailment in northern Montana spilled freight and left cars tangled up along a major east-west railroad corridor