luci-base: fix handling of monitor ifaces