A&P wins bankruptcy plan approval