Hernandez strikes out 8, M's beat A's 1-0