Johnnie’s Foodmaster will close all 10 of its stores, and is selling leases of six of them to Whole Foods.