When posting a thread in Triggers and Scripts, it is imperative that one must post his or her trigger using the following tags [trigger][/trigger], [code][/code], [code=jass][/code]. For triggers, you copy the trigger as text and paste it in between the [trigger][/trigger] tags. If that is not possible, you can upload the map by clicking on the Upload a File button and clicking your desired map. With that being said, I can continue.
One thing to do is to copy and paste the functional triggers on a safe copy of the map, excluding the problematic trigger and trying to manually reconstruct it. While doing so, you'll eventually understand which parts are erroneous or illogical.