If any section, subsection, paragraph, sentence, clause, or provision of this UDC is judged by any court of competent jurisdiction to be invalid, that judgment does not affect, impair, invalidate or nullify the remainder of this UDC. The effect of the judgment is confined to the section, subsection, paragraph, sentence, clause, or provision immediately involved in the controversy in which judgment was rendered.