They can invoke Republican Conference rule 26 A:
(a) A member of the Republican Leadership SHALL step aside if indicted for a felony for which a sentence of two or more years imprisonment may be imposed.
https://www.gop.gov/conference-rules-of-the-118th-congress/
Nice find.
Trump could “step aside”, but he doesn’t have to. The republican party rules are not legally binding on the constitution.