Some 2,000 people had gathered outside a mosque in the remote town of Mastung when a blast ripped through the crowd.