Accept None as start and stop parameters for list.index() and tuple.index().

Closes #13340.