Clean code in tuple checking feature.
Performance improvement in building tuple/relation values.

* Avoid creating thousands of Tuple subclasses.
* Let Relation#initialize coerce tuples and invoke to_set.
Memoize group type in image.
Simply invoke Relation.new/coerce in Compiler::Cog.
Fix Clip invocation.
Add test for Relation#each