JPMorgan Chase & Co. agreed to a $13 billion settlement over faulty mortgage securities with the Justice Department on Tuesday, though it did not admit any wrongdoing.