Previous commit popped an item too much.

luaL_ref() just before pops one of the two items off the stack, so we
only need to pop one item after that.