On the Expressiveness and Length Generalization of Selective State-Space Models on Regular Languages