model: replace isfinalfeasible() with stronger check