How Indian royalty used a bandit to derail the country’s first elections