\(B=\left(\dfrac{a}{\left(a-4\right)\left(a+4\right)}-\dfrac{a-4}{a\left(a+4\right)}\right):\dfrac{2a-4}{a\left(a+4\right)}-\dfrac{a}{a-4}\)
\(=\dfrac{a^2-\left(a-4\right)^2}{a\left(a-4\right)\left(a+4\right)}\cdot\dfrac{a\left(a+4\right)}{2\left(a-2\right)}-\dfrac{a}{a-4}\)
\(=\dfrac{a^2-a^2+8a-16}{a-4}\cdot\dfrac{1}{2\left(a-2\right)}-\dfrac{a}{a-4}\)
\(=\dfrac{8\left(a-2\right)}{2\left(a-2\right)}\cdot\dfrac{1}{a-4}-\dfrac{a}{a-4}\)
\(=\dfrac{4}{a-4}-\dfrac{a}{a-4}=-1\)