No indictment shall be quashed, set aside, or dismissed, nor shall any demurrer thereto be sustained for misjoinder of parties defendant or for misjoinder of offenses charged; and if either defect exists the court may sever the indictment containing it into separate indictments or into separate counts as shall be proper.
HRS § 806-23
Rules of Court
See HRPP rule 14. Motion in lieu of demurrer, see HRPP rule 12(a).