Pakistan 's military carried out a major offensive against the Taliban in Lower Dir and neighboring Swat Valley last year .