Properly handle braces in ebib-set-field-value.

Distinguish three cases instead of two: unconditionally store with
braces, unconditionally store without braces, and leave as-is.