Yes. It would be wrong to say that he opposed the independence of Pakistan. You could rather say : "By opposing the partition of India, he opposed the creation of this country"
You should watch the Ben Kingsley movie and brush up. Along with Daniel Day-Lewis as Lincoln, it's maybe the greatest biographical casting ever. By the way, a very young Daniel Day-Lewis briefly accosts Gandhi in South Africa.
Could you accept 'Harijans' for Dalits, because that's what Gandhiji called them.
Also, it would be more accurate to say that he opposed the creation of Pakistan, as opposed to independence. He was against the partition of India.