Properly order Kernel code for maps with mixed pairs

The Kernel instructions were not properly ordered when compiling maps with complex values mixed in assoc and exact pairs.

@UlfNorell