At least 40 people were killed and eight others injured after a passenger bus plunged into a ravine in Pakistan.