I found that my one leg was always having pain. What I discovered is that when I am coasting I support all my weight on the same leg 100% of the time. I now make an effort to use the other leg when I can. Sounds funny, but I have more control of the bike using my dominant leg to support most of my weight so it’s about 60/40. Look at your cleats on your shoes. Mine has a yellow wear indicator. One looks like new and on my dominant leg the cleat needs replaced. I always use the same leg to stop. This little change in the way I ride fixed my leg pain issue.