The company strived to be No. 1 and once churned out a third of all U.S. mortgages. But it’s cutting ties to outside lenders after years of regulatory struggles.

The company strived to be No. 1 and once churned out a third of all U.S. mortgages. But it’s cutting ties to outside lenders after years of regulatory struggles.