Reynoldes, Robert, Solicitor-General