[IR] Some tweaks and bug fixes to unboxing analysis

* Get rids of a few spurious boxing ops in mandelbrot.
* Additional speedup.