BUG: split should respect maxsplit when no pat is given
Merge pull request #6467 from cpcloud/str-pat-n-fix-6466

BUG: split should respect maxsplit when no pat is given