U.S. officials said an unprecedented outbreak of invasive fruit flies that took hold in California last year has been eradicated.