Bug 843866: IonMonkey: Make sure inference ran before inlining empty script, r=jandem