India could learn from the U.K.’s transition, ensuring that it does not make the mistakes Britain made