The country’s largest bank says it will open more than 500 new branches and renovate another 1,700. That’s good for customers, but what’s in it for the bank?