Former President Donald Trump cannot rely on an "amorphous" presence-of-counsel defense at his upcoming Manhattan criminal trial, a judge has ruled.