TORONTO – With a deal Tuesday to acquire 27 bank branches in Panama and Costa Rica from Citigroup Inc., Bank of Nova Scotia will rebalance its Latin American portfolio to gain exposure to countries more reliant on exports to the United States than China. Financial terms of the deal, which will make Scotia the second-largest player…