Federal officials have instructed at least 30 states to reinstate Medicaid and Children's Health Insurance Program coverage for half a million people, including children, after an errant computer program wrongly determined they were no longer eligible.