In 2004, as regulators warned that subprime lenders were saddling borrowers with mortgages they could not afford, the U.S. Department of Housing and Urban Development helped fuel more of that risky lending.