There are lots of reasons why it could be lagging. (And your sample code seems to be lacking to make it easier to tell us why is it lagging.)
It could be that the broken pieces are still active thus entity count increases over time and thus processing power resource is being suppressed due to increased amounts of traffic.
It could also be that in some states, there are redundancies in your code that is eating all the processing power.
It could even be that in one state or two, has undergone a multitude of processes that it is not sharing any of the processing resource.
It could even be that it is not "match State:" that is causing lag but other functions that activate because of a certain state.
All I could recommend is trying "timer nodes" instead of processphysics(delta) for some case that do not require sub-second activations. Next try reading about "Big O notations", "Multi-threading", and a little bit of "data structures" to reduce the lag of any codes.