Don't wrap values with ReactTextComponent in traverseAllChildren (cloneWithProps)

Fix for #1962

Moves wrapping with `ReactTextComponent` to `flattenChildren` instead, where it belongs.