A bomb apparently targeting a mosque in Pakistan's northwestern city of Parachinar has killed at least 22 people and wounded dozens more. The Pakistani Taliban claimed responsibility.