Wal-Mart Stores suffers class action setback