Millions of Amazon Prime members could get up to $51 as the company settles a federal lawsuit over misleading subscriptions.