New York Community Bancorp reported a net loss of $323 million for the second quarter as it further boosted its provision for credit losses and recorded a steep increase in net charge-offs. The parent company of Flagstar Bank also plans to sell its residential mortgage servicing business to Mr. Cooper.