Deep pockets of militants remained in Bajaur after the initial battles in 2008 , and the army , distracted by the offensive against the Taliban in the Swat Valley last summer , allowed the militants in Bajaur to regroup .