fix ProblemDefinition.set_equations_instance() for keep_solvers=True