doctrine of avoidable consequences — Legal Definition, Examples & Cases