scheduler: fix on non_fatal_steps rules
If a circuit expires as unfinished and one or more phases included
in non_fatal_steps are failed, the final state will be overtimed.