Jury won't hear that teammate also was charged, judge determines.