Medical advocacy groups welcomed Johnson & Johnson’s decision not to enforce its patent on a critical tuberculosis medication, allowing its production at much lower prices, after South African authorities opened an investigation into the conglomerate.