Railway minister inspects train protection system