A new trial was ordered for a man convicted of delivering a controlled substance to an undercover police officer because a Cook County judge refused to allow certain evidence — including that he had been acquitted of a separate drug-dealing charge — into trial, a state appeals panel found Tuesday.The 1st District Appellate Court also ordered a new circuit court judge to oversee the trial of defendant Joe Rosado, a finding the panel appeared to make on its own volition.Rosado was arrested and tried for a string …