At least 70 people were killed and hundreds wounded when a bomb ripped through a Sufi shrine in Pakistan, officials say, after a series of extremist assaults shook the country's growing sense of security.