A judge has cleared the way for Donald Trump to testify at his own defamation trial after lawyers for E. Jean Carroll raised concerns that he could "sow chaos."