Judge declares mistrial in case of officer charged in Freddie Gray death