I recently became aware of cases where a part of a saying occurs as the subject as well. While I initially thought they are funny, I now think it rather creates confusion/distraction of what you're trying to convey.
Things are working out great at work. We are working it out together at work.
I had other examples using other sayings, but I can't remember them at the moment.
Does this similar sounding and perhaps the avoiding of such combinations have a definition/name?