Actually there is good defence against these retards. Only problem is that either there is no will or no intelligent person in position. During Musharraf period, major obstacle in dealing with these people were corrupt politicians (of mainly PMLN) or people working on anti-Pakistan agenda (like Iftikhar, Qazi, Imran, etc), Plus half-hearted desire by then government towards controlling the problem, still situation was not that bad. Today situation has deteriorated badly and there is no excuse other than bad planning, bad management, bad governance, or lack of intellectual capability amongst decision makers.
Pakistan had not seen this kind of suicide bombings before Lal Masjid saga, and bombing in Wazirastan/FATA. Guess who was behind it? Iftikhar, Qazi, Nawaz or Imran?