Redundancy resolution of 9-DOF machine through synthesized global and local performance indices