Western military commanders tend to scoff at Pakistan 's failure to deal with bin Laden.Those with longer memories draw parallels with the Faqir of Ipi , an insurgent commander who dragged the British into one of their most costly counter-insurgency campaigns of the 20th century .