Judge who told rape victim to ‘close your legs’ is permanently removed from bench