Brakes for railway vehicles coming into operation in case of accident, derailment or damage of rolling stock or superstructure