Superconductivity in an inhomogeneous bundle of metallic and semiconducting nanotubes