fix ikfast degenerate case uniqeness check