Tuesday's attack in northwestern Pakistan's Bannu district, was one of the deadliest in months the military said in a statement.