Former Amazon employees claimed the company discriminated based on gender, saying the company underpaid them relative to male colleagues.