ikfast reduce degenerate cases of secondary solutions