Analysis of Tamm's problem on charge radiation at its uniform motion over a finite trajectory