Judge declares mistrial after discovery violation