Fix bisect.sh and move cmd_hash into t/hash