luci-base: cbi.js: fix handling of inverse-depends, combobox validation