Fix map.patch for null items

Looks good, just one more thing: I don't like this change because it requires reification of the `Item` type which I want to avoid for performance reasons.