Fix Optimized Differ (was generating extraneous Create mutations)
Fix Optimized Differ (was generating extraneous Create mutations)

Summary:
When we call `.erase` on the TinyMap, it sets the key of the element to 0. When we call `.begin()` later, TinyMap will sometimes, but not always, clean up the underlying Vector. This means that *most* of the time, underlying erased elements will be removed from the Vector; but sometimes erased elements will still be there when iterating over it.

This was causing us to generate extra "Create" mutations.

To fix this, for now we just check for zeroed-out elements when iterating over the vector.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D21389371

fbshipit-source-id: 1e641050987d40a3f3e31499dcb373cfb28ae6f8

arthuralee/react-native,hoangpham95/react-native,janicduplessis/react-native,janicduplessis/react-native,janicduplessis/react-native,janicduplessis/react-native,javache/react-native,facebook/react-native,arthuralee/react-native,facebook/react-native,pandiaraj44/react-native,myntra/react-native,javache/react-native,facebook/react-native,myntra/react-native,javache/react-native,myntra/react-native,facebook/react-native,facebook/react-native,myntra/react-native,janicduplessis/react-native,myntra/react-native,javache/react-native,hoangpham95/react-native,myntra/react-native,pandiaraj44/react-native,janicduplessis/react-native,facebook/react-native,myntra/react-native,pandiaraj44/react-native,hoangpham95/react-native,hoangpham95/react-native,hoangpham95/react-native,arthuralee/react-native,facebook/react-native,hoangpham95/react-native,janicduplessis/react-native,pandiaraj44/react-native,arthuralee/react-native,facebook/react-native,facebook/react-native,janicduplessis/react-native,myntra/react-native,javache/react-native,javache/react-native,hoangpham95/react-native,javache/react-native,pandiaraj44/react-native,arthuralee/react-native,pandiaraj44/react-native,pandiaraj44/react-native,pandiaraj44/react-native,javache/react-native,javache/react-native,hoangpham95/react-native,myntra/react-native