defense of necessity — Legal Definition, Examples & Cases