Handling degeneracy in a nonlinear l(,1) algorithm