dep.lisp (recompute-dep-value): Refactor the flag calculation.