Medium: PE: Correctly set the state of partially active master/slave groups
Master/Slave groups may not be completely running when we set their role to
Slave. This can have unintended consequences when creating actions and setting
up probe_complete and all_stopped orderings.
Mercurial revision: 5e8dcd746244bb630accaba2b406c95b16b244ec