Use same algorithm for `Select` and `Sequence`

Closes https://github.com/PistonDevelopers/event/issues/149