Hanscom Federal Credit Union in Massachusetts said it would acquire Peoples Bancorp and its insurance agency. It marked the 21st deal of the year involving a credit union buying a bank.