Hachette, HarperCollins and Simon & Schuster reached a settlement with the Justice Department that would require them to allow retailers such as Amazon and Barnes & Noble to reduce the prices of e-books they sell from the publishers, the Justice Department said.