Iran to hold funeral for slain security chief as it vows vengeance