Refactor: scheduler: simplify checking instance state
Previously, clone_update_pseudo_status() and clone_create_pseudo_actions() used
booleans to model whether an instance or any instance was active, starting,
stopping, or restarting.
This simplifies and becomes more readable when using a bitmask instead.
Also, compare action names case-sensitively.