Nationwide safety checks follow UK train crash