removed duplicated definitions of EDProducers (for 71x)

Backport of #4220 to 71x. Cherry-picked the one commit used in 72x pull request.

@mbluj, @Martin-Grunewald