duty of avoidance — Legal Definition, Examples & Cases