Ironwood Pharmaceuticals Inc. is beefing up its gastrointestinal drug portfolio by buying a Swiss biotech called VectivBio Holding AG.