A new law poses a threat to Medicare and Medicaid, and is projected to strip coverage from millions, 60 years after these programs revolutionized American health care.