Walmart and Reynolds Consumer Products have agreed to stop selling certain plastic bags in Minnesota for two and a half years, after the state’s attorney general, Keith Ellison, argued in court that the companies had falsely marketed them as recyclable.