New York judge was due to sentence the president-elect next week in the only criminal case against him to go to trial