Bomb blast kills seven in northwest Pakistan