A&P emerges from Chapter 11