Currently, it's too brittle and fails if the action order differs. [This function](https://github.com/AI-Planning/p4pp/blob/main/src/merge.py#L13) should recast to sets.