Fixed bad branch merge from f3293274
[IR] Added missing flags on TO_ARY operation -- fixes buggy opts.

* TO_ARY operation can raise an exception (TypeError) and can have
  side effects (allocates RubyArray). So, optimizations like DCE
  cannot delete this instruction. Adding the flags blocks DCE from
  doing so and fixes mspec failures when run with DCE enabled.