What is mitigation of damages?