Misc: Cib model: Better handling of maintenance-mode for per instance is_managed flags

Signed-off-by: Tim Serong <tserong@suse.com>