optimization: Fix remainder capture in a certain form of multiplication
optimization: Fix remainder capture in a certain form of multiplication

The following command (with default -O2 optimization) would incorrectly print "16 -> 0":
regex -nx '^(?=(x(x(xx)))(x*)(?=\1*$)(\3\2+$))\4' -t 16
But with "-O1" added to the command line, it worked properly, printing "16 -> 4".

Davidebyzero/RegexMathEngine,Davidebyzero/RegexMathEngine