For starters, given the problems that the average Pakistani is facing, in terms of lack of job opportunities, problems related to overpopulation, increasing urbanization etc., tons of unemployed people, population growth etc. the last thing Pakistan is in need of ,is immigrants and least of all Afghans, mostly traumatized people who themselves are escaping due to Afghanistan being in an even worse place. I am not a proponent of Afghan Pashtuns, Indian Punjabis, Iranian Baloch, Kashmiris based in Kashmir under Indian occupation, Muslim Biharis etc. to be flooding Pakistan, unless arriving legally and with qualifications that can help Pakistan.
My point is, outside of a overall small problematic Pakistani Pashtun community within Pakistan, some examples that you have mentioned and others that I mentioned, there is no Pakistan within the Pakistani Pashtuns. Therefore rhetoric equaling Pashtuns (this includes Pakistani Pashtuns) with Afghans is a huge problem as it does nothing but create division.
Call me crazy or whatever, but not all Afghans in Pakistan, illegal or legal, are a problem either. Many have integrated and consider themselves Pakistanis.
Let us address the obvious problems (they should not be ignored) but do it rightly, by targeting those responsible for it and stop the idiotic generalizations that don't do anything positive, rather the opposite.
The terrorist killed today, should be eliminated whenever they are hiding and with no mercy.
My two quick cents.