move bad instruction detection and instruction regexp stuff to InstSeq container