Pakistani security chiefs sacked after shocking shooting