ENH: Improve perf of str_extract

Simplify; iterate over arrs directly.
Simplify code