MAINT: always use tuples for api index values

simplifies the generation logic a bit
MAINT: replace multiarray_global_vars_types by using tuples