Removing undesirable matter from rails, flange grooves, or the like railway parts