To end a federal discriminatory lending lawsuit, Bank of America will pay the largest fine ever assessed in that sort of case, in connection with discriminatory lending practices by the Countrywide company it bought.