Halifax, which is part of Lloyds Banking Group, said the closures are down to more people using online services.