Correlations of Rydberg excitations in an ultracold gas after an echo sequence