Economic uncertainty and the shift to online banking have prompted the cuts, the bank says.