On the exploitation of mechanical advantage near robot singularities