Refactor: scheduler: best practices for filter_anonymous_instance()
filter_anonymous_instance() and the code surrounding its lone call were
confusingly difficult to follow.
Rename it to promotion_score_applies() for readability, and incorporate the
tests that were around its call, to simplify the caller. Also add a
doxygen block, and improve variable names, comments, log messages, and
formatting.