ir: Copy Types properly
ir: Simplify Enums again
parser: Ensure unique types for multiple Variable declarations
test: Add bug test for multiple Variable declarations