For my two cents, the reason for this ambiguity stems from mixing two methods of writing multiplications and divisions, which is never justified.
Method 1: Using $\times$ and $\div$
$$\begin{align}
24 \div 4 \times (8 \div 4) &= 24 \div 4 \times 2 \\
&= 6 \times 2 \\
&= 12
\end{align}$$
Method 2: Not showing multiplications, writing divisions as fractions
$$\frac{24}{4} \left( \frac{8}{4} \right) = 6 (2) = 12$$
Both calculations are unambiguous and yield the same, correct answer.
The two methods should simply never be mixed; whenever they are, there is inevitably the possibility of ambiguity.
Note that either method could yield the other answer with a little re-writing:
Method 1:
$$\begin{align}
24 \div \left[ 4 \times (8 \div 4) \right] &= 24 \div \left( 4 \times 2 \right) \\
&= 24 \div 8 \\
&= 3
\end{align}$$
Method 2:
$$\begin{align}
\frac{24}{4 \left( \frac{8}{4} \right) } &= \frac{24}{4(2)}\\
&= \frac{24}{8} \\
&= 3
\end{align}$$