Fix a few bugs in maps.

* Strip off the type and context when extracting updates from embedded
  types.
* Pass the initial value to the update fun even if it wasn't already
  present in the updates.