Experts say the grocer’s mix of closures and openings reflects a broader recalibration happening across specialty retail.