Bug 866765 - Refactor compilation of JSOP_SETELEM to only pop operands at one point, r=dvander.