Second Judicial District Court Judge Joseph Montano said prosecutors had withheld witnesses improperly.