[compiler] Added ADD_LOCAL_INT to complement ADD_LOCAL_INT_AND_POP. Also, do quick return for return UNDEFINED.