Improve error message when types don't match in UNION query

Follow
https://github.com/facebook/presto/issues/2011

These expressions of `...getType()` are a bit long and repeated, so introducing variables would help.