A&P completes Pathmark purchase for $1.4 billion