Massachusetts’ three largest banks by deposits — Bank of America, Citizens Bank and Santander Bank — have closed a combined 128 branches in a three-year span ending in June.