Now NonlinearProgram accept empty linear constraint. Previously it would fail if we add an empty constraint, and then try to delete it