fix A[]=x for Array and BitArray
fix gen_cartesian_map in the case of ranges===()