JPMorgan Chase & Co. and Credit Suisse Group AG agreed to pay almost $417 million to settle U.S. regulatory claims they misled investors while selling billions of dollars of investments linked to home loans.