Judge Approves Optim Energy Plan to Exit Bankruptcy