Bankruptcy Court Clears Way for Magnetation Shutdown