Sir John Eardley Wilmot (1709–1792), Chief Justice of the Common Pleas