With the approval of American regulators, a division of New York Community Bancorp has agreed to buy deposits and loans