The code ( Exhaust Gas Reticulation System ) you report does not fall into line with your advice re the fuel pump running, possibly because it may not have been receiving fuel. The EGR system is confined to exhaust gas recirculation between the exhaust and inlet manifold.
These comments are probably simply confirming your own thoughts and you are well aware that you are faced with a mystery.