I have written extensively on this particular topic. Losses like these are a dereliction of duty and at this point inexcusable. Not that we are not going to take casualties. Unfortunately that is going to happen. The dereliction comes in the form of tactical failures. I could write a thesis on this. No PK army checkpost should be over run (such occurrences mean our tactics have not caught up to the enemies tactics). Speaks to poor setup pure and simple. Very disappointing.
I have actually seen such checkposts - not all are created the same way. Some are better than others and in large measure are left to the JCOs own ability with little oversight and supervision. They dont follow any consistent SOPs or basic construct design methods. Quite often they use materials of what is lying around. Such tactics can be accepted when in flux or in enemy territory. When within your own country it speaks to poor logisitcs. Bases like these should always be built in tandem in sister configurations (designed in a manner where mutual support is possible). Clearly insurgents are operating at max strength of 40-60 men. Anything more than that and they can become slower and fatter targets. This means if I was responsible for high risk areas I would only build checkposts in tandem and with a combined troop strength of atleast a platoon. I would always position a CO (commissioned officer) and JCO along-with the NCOs.
I would design checkposts with effective post protection such as trips, and barbed wires. I would recce area to understand potential ingress and I would setup early warning systems like simple shell trips. I would also have a small marksmen unit identified and on duty along with observation units in 2-4 hour rotations. My best JCO shooters would have ranged rifles. I would setup a double layer external wall with middle sand bags to stop inbound rockets. I would also setup slab protection areas for some cover from motors. I would have an NV unit for night observation. I would have a strong supply of flares to illuminate the night time, and if possible I would get a complement of dogs.
Additionally I would have strong comms with my basing units so I could use a QRF. The QRF in this terrain cannot be driven in. They would need to be helo'd, otherwise they will die. Unless they are coming in armor and that is not always going to be possible in this terrain. Ideally each checkpost should have some air cover. At the minimum for surveillance. Ideally some drone coverage given the limitation of attack helos.
Lastly I would teach tactics and build shooting nests. Some of these videos show our soldiers shooting tactics. There is tremendous bravery but they are spraying. Because they are caught, they are zeroed in they have no line of sight. Yet they spray aimlessly. In moments like these they need to compose themselves, find cover (primary), then attempt to identify line of sight. They need to coordinate with fellow soldiers and then return fire. Non of these basic tactics are visible. This means sooner of later they are going to die. It is a foregone conclusion.
Like I said we will take casualties, but basics are basics. Lets improve on these basics. Make it so painful for the enemy that they avoid these checkposts. Right now the balance is in their hands. And the enemy is highly trained.