Refactor: scheduler: best practices for rsc_transition_fn
Use bool instead of gboolean, and drop redundant argument