Sir Robert Chambers (1737–1803), Fellow (1761), Chief Justice in Bengal (1789–1799)