[backend] add $BSConfig::dispatch_constraint hook (i.e. hack) for hard constraints