base.rst: Combinatorics: Consistently name arrays

Use 'array' consistently, instead of a mixture of 'a', 'arr', 'array'.
base.rst: Combinatorics: Fix 'permutations' example
Merge pull request #8654 from julian-gehring/patch-1

base.rst: Update 'Combinatorics' documentation