The pharmaceutical company Astellas Pharma Inc. of Tokyo is buying OSI Pharmaceuticals, Inc. of Melville for $4 billion. Here are the details.