Rio Tinto in radical shake-up of legal team