The point I was making about a Soviet invasion turning Pakistan into an Afghan-like moonscape is that there would have been no Pakistani nuclear program, any more than Afghanistan was capable of ginning one up. Note that India would have ended occupying large chunks of Pakistan, with perhaps some Chinese movement into Pakistani territory claimed by China. Bottom line is that between large-scale suppressive measures from all three sides, Pakistan would have ceased to exist on the Islamist map of assets, to non-Muslim world’s long-term benefit. And none of this would have cost the US taxpayer one thin dime.
We failed to fight our communist enemy in China after World War II and the result was Korea and Viet Nam. Ronald Reagan didn't make the same mistake.