Fix error case in #457
Check for duplicate labels in intermediate types.
Merge pull request #643 from purescript/457

Fix #457