Generic drugs save billions, but too much competition is causing dangerous shortages. Why some essential medications vanish-and how we can fix it.