Ailing US retailer A&P has seen its second-quarter losses almost double on the back of falling sales - but the company said it had completed the first phase of a bid to revive the business.