Refactor: scheduler: best practices for RecurringOp_Stopped()
Rename RecurringOp_Stopped() to recurring_op_for_inactive(), drop redundant
or unused arguments, add a doxygen block, and improve variable names,
log messages, comments, and formatting.