Bard's parent company agreed to settle thousands of lawsuits involving more than 30 of its hernia mesh repair products.