Law ministry’s irregular appointment process scrapped