Stochasticity of classical Yang-Mills mechanics and its elimination by using the Higgs mechanism