Reject all duplicate declarations involving DuplicateRecordFields
This fixes #17965 (closed), a bug that resulted in some programs being accepted that used the same identifier as a field label and another declaration, depending on the order they appeared in the source code.