Of course it's not deliberate, but I think a quite simple workaround could alleviate this problem. For example if all companions just stop moving when a trap is discovered. A tiny bit higher effort solution could check the pathing of all characters that are currently moving somewhere, and only stop them if they were going walk across the trap.