Rewards Network agrees to $64M settlement to end lawsuit