Hierarchically supervised control of linear plants with unpredictable mode-switch dynamics