The retailer wouldn’t comment directly on the lawsuit, which alleged pricing discrepancies, but defended its existing labor investments.