What is pruning in a decision tree algorithm?