Blast near shrine in Pakistan, nine dead: police