Avoid setting the templated 'Number' to '0' (double) in trace(Tensor<2,dim,Number>)

Enables using trace also with e.g. `Tensor<2,dim,VectorizedArray<double> >.`
Was this change intentional? If the variable is called gradS, it should be the symmetric gradient.