Refactor: scheduler: best practices when cancelling recurring actions
Rename CancelXmlOp() to schedule_cancel() for consistency, add a doxygen block,
and improve log messages, formatting, comments, and variable names.
Also, replace an XML argument with the three values parsed from it, since two
of them have already been parsed by the callers, and drop a redundant argument.