Refactor: scheduler: move deduplicate_inputs() to pcmk_sched_actions.c
... along with a static function it uses, for better code organization. Rename
it to pcmk__deduplicate_action_inputs() since we're exposing it as
library-private, and add a doxygen block.