If a defendant or respondent is interested in part only of the relief sought, or cause of action included, in a proceeding, the Court or a judge may make any order to prevent the defendant or respondent from being put to expense by being required to attend any proceedings in which the defendant or respondent has no interest.