A TD Bank branch in Maryland is among four dozen branches nationwide expected to permanently close early next year.