£500,000 of taxpayers’ money wasted by Wales Office legal blunders