New Jacobi-type necessary and sufficient conditions for singular optimization problems