mitigation-of-damages doctrine — Legal Definition, Examples & Cases