Bank of America to buy $9B portfolio of residential mortgage loans from Toronto-Dominion Bank as TD adjusts balance sheet to comply with asset cap.