The Paymaster General Act 1782 ended the post as a lucrative sinecure