A judge had ruled that Next was justified in paying warehouse workers more than those in its branches