Amazon must face US nationwide class action over third-party sales