Judge Florence Pan agreed with Justice Department arguments that the merger of Penguin Random House and Simon & Schuster would harm competition for books viewed as potential best-sellers.