Fix #797

Fix unify_pair in handling UniTuple coercion