The company will close 57 Fresh stores and 15 Amazon Go locations, converting some into Whole Foods stores.