The San Fransisco-based bank, which until recently had been among the largest in Massachusetts by deposits, has been seized by federal regulators and sold to JP Morgan Chase in the largest bank failure so far this year.