The failure to track doctors who shun cheaper generics racks up huge costs for taxpayers in Medicare Part D, which fills one of every four U.S. prescriptions.