Pakistani soldiers killed at least 45 Taleban militants in scattered gunbattles across the northwestern Swat Valley after a suicide bombing on a police station killed 17 cadets, the army said Monday. Hundreds of miles away, a southwestern border crossing with Afghanistan reopened after an administrative dispute culminated in an attack on a line of waiting NATO fuel tankers. One driver was killed and 16 trucks destroyed when the fuel caught fire. Taleban militants were suspected in both the police station bombing and the attack on the trucks, which came hours apart. The insurgents have vowed to avenge the army's recent offensive to retake the Swat Valley and the death of their top leader in a US missile strike near the Afghan border in early August. Sunday's suicide bombing in Swat was the deadliest attack since the military regained control of the northwestern region in July. Soldiers looking for militants after the attack encountered resistance in several areas, and battles that raged into early Monday left 30 dead, army spokesman Col. Akhtar Abbas said. Separate army statements Monday said 15 more militants were killed in security sweeps of five other areas over the previous 24 hours and two soldiers had died. It was not possible to independently confirm the death toll provided by the army. The death toll in Sunday's suicide attack rose to 17 Monday as one of the wounded died, local hospital official Ikram Khan said. The bomber sneaked into a police courtyard in the valley's main town of Mingora and detonated his explosives next to a group of volunteers training for a community policing force. The other bomb, near the border crossing, ripped through a line of NATO fuel trucks backed up by a two-day closure resulting from a dispute over fruit inspections. At least one driver was killed and 16 trucks destroyed on the Pakistani side of the Chaman crossing, police official Gul Mohammad said. The border crossing reopened Monday, he said. Pakistani customs officials said their increased and lengthy inspections of Afghan trucks carrying pomegranates and grapes prompted Afghan officials to close the border. Customs and security officials from both sides agreed to end their dispute Monday, Mohammad said.