A&P to close 25 locations as part of turnaround strategy