fix defined typecheck
Merge pull request #362 from imasahiro/fix_defined_typechecker

Fix 'defined' syntax's typechecker