Judge declares mistrial in murder case