Tags40 injured in powerful blast in Pak's northwest