A united India - which would overwhelm the Empire by weight of population - is a British creation.
Solution - never bring the Presidencies together under a single "umbrella", keep the former Sikh realm as a separate Punjab Presidency, hang the first person to mention "Doctrine of Lapse" and thus...