Eight dead in NW Pakistan blast: police