Paki generals enjoyed full monopoly for a long time.
With this Surgical Strike, they lost face there. With weakened moral, it can't do much more than gracefully handing over the power to civilians.
If we ever want to solve this problem without loss, this can be good option.