Supreme Court sides with dog, law enforcement in search case