Managing diversity in the eighteenth-century Estado da Índia