Liverpool hentede en 1-0-sejr ude over Ajax i Champions League takket være et selvmål af Nicolas Tagliafico.