Albertsons cut its annual outlook after comparable grocery sales declined, while digital and pharmacy growth helped offset pressure in its core business.