The Tour of Flanders men's race was neutralised after riders in the breakaway were forced to stop at a level crossing to let a train pass.