Correctly calculate dimensions for assignments with boolean keys
Correctly calculate dimensions for assignments with boolean keys

arrayfire/arrayfire-python,arrayfire/arrayfire_python,pavanky/arrayfire-python,FilipeMaia/arrayfire-python