[selectors] Define an+b properly, reorganize all the indexed pseudo-classes.