5 payday lenders reach settlement with N.Y.