Judge OKs Amp'd bankruptcy deal