Lehman reaches $38 billion deal with European unit