Police say the bomb exploded when Paktiawal and his team were investigating the deaths of three of their colleagues .