Taljaji, Raja of Tanjore, d.1787