Lloyds Banking Group has confirmed 40 Lloyds and 15 Halifax branches will close next year in a new blow to the high street