sched: Factor out the on_null_domain() checks in trigger_load_balance()