Automatic merge from submit-queue (batch tested with PRs 46252, 45524, 46236, 46277, 46522) [Federation] Refactor the cluster selection logic in the sync controller This is intended to make it easier to define the interaction between cluster selection and scheduling preferences in the sync controller when used for workload types. **Release note**: ```release-note NONE ```