worktree.c: kill parse_ref() in favor of refs_resolve_ref_unsafe()