An appeals court in Santiago voted to strip Gen. Augusto Pinochet of immunity from prosecution in the investigation of $ 17 million he is said to have illegally obtained and deposited at scores of financial institutions in the United States during his 17-year rule .