Railways merges eight cadres into one