Wal-Mart takes legal action in labor battle