If any clause, sentence, paragraph, section, or part of this act shall be adjudged by any court of competent jurisdiction to be invalid, such judgment shall not affect, impair, or invalidate the remainder thereof, but shall be confined in its operation to the clause, sentence, paragraph, section or part thereof directly involved in the controversy in which such judgment shall have been entered, and it shall be presumed that the legislature would have enacted this law with the omission of the section, subsection, or clause held to be invalid.
K.S.A. 82a-944