Milvain, Thomas, Sir, Judge-Advocate-General