Workers noticed beam hanging off railcar days before fatal accident but didn't tell the railroad