Until recently, the government’s response to the epidemic, which threatened the country’s very lifeblood, was lackluster and foolish. But rising pressure over the past two decades – from civil-society groups, the media, and more enlightened politicians – is finally showing results.