The Indian Army in WWII eventually totaled 2.5 million men, making it obviously a major combatant. But, as you say, it was not a reliable tool after the war for the British to use in repressing the Indian and Pakistani independence movements.
the birtish had already promised to grant independence after the war, why would they need to repress independence movements?