Re: Preventing it from going into USB restricted mode
No doubt that's an accidental loophole that will Apple will fix in a future update
Easier said than done. It will require "pairing" USB devices to fix it. While theoretically possible some of the devices in question are related to assistance technologies for hearing, vision, etc impairment so "fixing it" without breaking various disability regulations may be an interesting exercise.
If it was that easy, Apple would have "fixed it" long ago as it provides them with yet another route to deny the use of 3rd party accessories.