The ruling comes in the baseball legend’s perjury trial after jurors heard references to statements that the judge had ruled inadmissible except on rebuttal.