Exploring the Compositional Deficiency of Large Language Models in Mathematical Reasoning