After some thought, IMHO, the government should try to avoid these kinds of cases. Even if many Afghans are hostile to Pakistan, the next few years are not the time to allow a negative impression to gain a foothold amongst the part of the Afghan population that may be sympathetic.
Yes it will be costly, but the long term negative ramifications for a bad perception could be worse. Many may feel many of the Afghans are a “what have you done for me lately” lot, but considering they have lived hand to mouth for decades, we can’t expect them to appreciate our situation.
The Afghan situation is a liability that needs to be managed, in much the same way Turkey has had to deal with Syria and Iraq on its borders. In a honor and shame based culture, image/face is very important. This is why I think IK is so determined not to allow a negative perception to grow, as much as possible.