impairing the obligation of contract — Legal Definition, Examples & Cases