State pension fund to sell off interest in firearm firms