Fix up ci_all_next_states to keep up with changes elsewhere.

Fix glitch in ci_register_intent that was only allowing one next state
to be chosen.