Reduced rare-earth iodides without and with carbon