Students can learn more from mistakes than we realize.