Still pending final approval, agreement involves insurance companies, developers of an adjacent building and other defendants; Judge says 'amazing' deal far exceeds his expectation