Fix constant variable removal in NonlinearProgram.

Problems with no fixed variables had their linear constraints set to empty
which caused SNOPT to exit with info 91.