Theory of superconductors with overlapping bands in the presence of nonmagnetic impurities