doctrines of impracticability and frustration — Legal Definition, Examples & Cases