Fix incorrect ambiguity error on identically-named data constructors