InterSystems Corp., now headquartered in Kendall Square, has agreed to take the top 14 floors of the building now under construction downtown.