Grocery chain Albertsons is planning to acquire the remainder of Ride Aid that isn’t being sold to Walgreens.