Hadronic resonance production and interaction in partonic and hadronic matter in the EPOS3 model with and without the hadronic afterburner UrQMD