The settlement with NYDFS includes a $37 million fine and aims to fully compensate affected customers.