Bank of America, then known as NCNB Corp., the parent of North Carolina National Bank, discovered a way to structure the deal to save $1 billion of taxes, using a convoluted strategy that none of the other bidders knew about.