The agreement to take 600,000 square feet on Third Street is part of an effort to consolidate more of its operations in Kendall, the drug giant said Wednesday.