shell: Don't show empty RAID and Other Devices panel after removing a RAID device

Fixes #1038