fix issue11

add undefineConst function in scope.go
When compileFunc in stmt.go return nil, indicating that func has error
undefine the identifier previously being defined

// I'm not sure this is the best way to deal with this, since undefined function is rare to use. To define it seems a stupid action.