A reduced SQP-type algorithm for nonlinear semidefinite programming with LMI constraints