Government to pay pensions to 8,000 part-time judges