If Hindus and Muslims have a longer history of cooperation (in a bloodier war of independence, maybe?), and if the British aren't so quick to support dividing the country, maybe.
If Gandhi pushes more strongly for a unified Indian state, and isn't assassinated, the state might have a chance of...