Perhaps, but either way, Afghans need to be made to agree to terms that allow peaceful coexistence, especially with regards to our border. The Afghans may never accept the border, and therefore we need to make it such that if they even think of crossing the border it is on Pakistan’s terms not a push by Afghans into Pakistan. We need a Haidrian’s wall style Defense; fencing but with trading posts with facilities for hospitals along the border. Make the border beneficial to them if they cooperate otherwise make it a hard border.
Btw, a protracted conflict with them is not in the national interest IMHO, only punitive strikes on confirmed concentrations of enemy forces. If indeed a woman and 5 children were killed, compensation should be paid to the families to lower tensions and show that it was not intentional (although that could become a slippery slow of false claims down the line).