This fixes a few "obvious" places where we do unnecessary updates. Those special cases were added in the beginning when many updates were missing and we tried to get it to work at all. There is a fairly high risk that with this change some required updates will be missing. Those can be fixed when we find them. Some of the update issues might have been fixed by rB58818cba40794905f9323080e60884e090f2d388 and similar changes we added over time.
Even though this patch skips some updates, there are still many cases where we could skip. Unfortunately, detecting these cases is increasingly difficult... We'll probably need separate tasks for the different cases (adding reroutes, value tweaking, ...), because they have to be handled separately. One fix does not apply to all.
This is part of T88198.