The sweeping changes come after Pakistan suffered heavy defeats in the first two Tests at Leeds and Lord’s