frustration of purpose — Legal Definition, Examples & Cases