IntMap intersectionWith type is too restrictive