tree2scop.c: map_to_previous: handle higher dimensional domains