- combine_fields(+Fields:list, +MsgDict0, -MsgDict) is det[private]
- Combines the fields into a dict and sets missing fields to their default values.
If the field is marked as 'norepeat' (optional/required), then the last
occurrence is kept (as per the protobuf wire spec)
If the field is marked as 'repeat' or 'repeat_packed', then all the
occurrences are put into a list, in order. The occurrences do not
need to be together, as is allowed by the protobuf spec.