INVESTMENT AGREEMENT By and Between BANK OF AMERICA, N.A. and COUNTRYWIDE FINANCIAL CORPORATION Dated as of August 22, 2007