Jurors who are empaneled to sit in the impending Manhattan criminal trial of former president Donald Trump will remain anonymous, a New York judge has ruled.