If any clause, sentence, paragraph, section, or part of this chapter shall be adjudged by any court of competent jurisdiction to be invalid, the 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 the judgment shall have been rendered.
R.I. Gen. Laws § 40.1-5-42