There is a known issue with creating VLANs on IPQ40xx devices. Try searching forum for more information and possible workarounds.
https://forum.openwrt.org/t/ipq40xx-switch-config-strangeness/32542
https://forum.openwrt.org/t/optimized-build-for-ipq40xx-devices/44125