Even if Pakistan were to become strong, India would becomes 'stronger' still in the same time period.
For example, in the last decade, our military has expanded faster than Pakistan's has. And GoI has sanctioned further expansion.
As far as Punjab and Gujarat are concerned, let me give you an idea. Pakistan Military is strongest in the J&K sector vis-a-vis Indian Military. And this is not in absolute terms - PA is still weaker than IA even in this sector, but the gap between them is lowest in this sector. Now think...where Pakistan is the strongest(relative to itself in other sectors), it is unable to take anything.
Pakistan military is weakest in Punjab, Rajasthan and Gujarat sector vis-a-vis Indian military. You can imagine what would happen here.
So, at any given point of time, even if Pakistan were to become strong compared to its position now, it would still be weaker than India and ergo it will never be able to militarily take away Kashmir.
So I ask again, what do you think is the solution for Pakistan?