Amazon is wrapping up a legal problem it’s been fighting for almost 10 years | Fortune