Adds a new feature to MIR patterns: builtin instructions.
They offer some additional capabilities that currently cannot be expressed without falling back to C++ code.
There are two builtins added with this patch, but more can be added later as new needs arise:
- GIReplaceReg
- GIEraseRoot
Note: as the name of the test indicates, this isn't supposed to be replaced, so this isn't a regression - it fixes a correctness issue.