I came across this reaction where simple electrophilic addition mechanism will result in a vic-diiodide.
$$\ce{H2C=CH-CH2-I ->[HI, excess][CCl4]}$$
But the solution says that vicinal iodine groups are unstable and the following reaction occurs:
$$\ce{CH3-\underset{(unstable)}{\underset{\underset{\huge I}{|}}{C}H-\underset{\underset{\huge I}{|}}{C}H2} ->[][$-$I2] CH3-CH=CH2}$$
I am unable to figure out how the dihaloalkane is unstable. It might be due to steric reasons, but still the two iodine can arrange in a way that reduces the repulsions.
But even if it is unstable, how did $\ce{I2}$ leave the haloalkane to yield an alkene? This dehalogenation does happen when a metal is used though (Zn dust, Mg in acetone, I guess) but what would be the mechanism here?