Minimize the rotation error between the arms.
Use the SVD to compute the null space projection of the jacobian.