Implement translation of union type from ast.

BUG=433947
R=viettrungluu@chromium.org

Committed: https://chromium.googlesource.com/external/mojo/+/3ef5585b035a5fc6716682c33efea919774dfae6

Review URL: https://codereview.chromium.org/790093002