We donot have an acceptable definition of terrorism yet, so analysis tend to diverge. Terrorism which assumes the form of a nuclear threat becomes an unacceptable risk and can not operate within the confines of normal logical constructs.
The Sino-Pak linkages on nukes if true, may have already evolved to Sino-Islamic terror linkages, if one goes by the interpretations of the former decision-makers there.
One way to counter terror would be to extend the coping measures to all elements of any such linkages. Once this policy clarity is visible to all players of the linkages, the rational ones are likely to be dissuaded.