The world’s largest retailer cited the growing concerns by health officials as the number of deaths linked to vaping reached eight.