Nuclear energy density functional from chiral pion–nucleon dynamics revisited