Homem, Manoel Mascarenhas, Captain-General of Ceylon