Where by a breach of contract a party is injured, he is bound to lessen the damages as far as is practicable by the use of ordinary care and diligence.