The judge overseeing Donald Trump's civil fraud trial rebuked and issued a limited gag order against the former president.