Teen jailed for 17 years over acid attack killing