Added ImmutableMap constructor that accepts a const TreeTy*.