Prevent checkout tree when conflicts exist, clear NAME when checking out tree

Prevent checkout tree when unresolved changes exist (unless FORCE flag is
specified).  Clear NAME table when checking out, to avoid checkout_conflicts
from attempting to manipulate it.  Ensure that NAME is also cleared at reset.