Improve SexpNode#deep_copy

- Remove useless guard
- Make type check idiomatic
- Re-implement SexpNode#deep_copy without YAML