Suspected militants blew up a school for girls in Pakistan's volatile northwest, only damaging the building but not causing casualties.