New York judge says he wants to bring ‘finality’ to the prosecution ahead of president-elect’s inauguration