The court may make such orders as will prevent a party from being embarrassed, delayed, or put to expense by the inclusion of a party against whom he asserts no claim and who asserts no claim against him, and may order separate trials or make other orders to prevent delay or prejudice.
SDCL 15-6-20(b)