Sir William Erle, Lord Chief Justice