What was the total amount of (a) legal fees that was spent on defending legal actions against his department, (b) cost orders that were made against his department and (c) contingent liabilities against his department in the 2021-22 financial year in each case?