Ministers must stop “inflaming tensions” and “help to end rail dispute”