Trigonometric Calogero-Moser System as a Symmetry Reduction of KP Hierarchy