Fashion retailer Next said it may be forced to close stores after losing a legal battle over paying store staff, who are mostly women, the same hourly rates as its predominantly male warehouse workers.