A new layer has been added to Walmart's pending opioid-related litigation, this time with investors going after the company.