In October, more bank branches opened than closed in Massachusetts, bucking the trend of large waves of branch closures in the Bay State.