Adaptive Position-Force Control Compensating Constraint State Transitions for Robot Manipulators