Donald Trump has rebuked his Republican allies for dragging former president Bill Clinton to testify over his relationship with Jeffrey Epstein.