[ALOY-256] Improve efficiency of <Require> expansion
DescriptionCurrently a less-than-optimal method for expanding
insertBefore()on the DOM immediately followed by
removeChild()removes both the target child and the previously inserted node. The impact of this is very minimal, but should be revisited at some point to determine if there's a non-obvious issue with the Alloy logic, or if this is a bug with xmldom for nodejs.