True that provinces or administrative units (soobas) have existed from Mughal times. And 1945 elections provided a basis for popular demand in a sooba.
Thus Pakistan and India were not just BRITISH CREATION, instead these countries were “negotiated” between the “elected leaders of India” and the “British Government representatives”. This was a TWO-WAY decision and not just British imposing their will.
Yes it the soobas were not religious entities, but that should not lead us to the view that provinces did not get their voices heard in the process.
Hope that clarifies for you the circumstances in which Pakistan and India came into being.