BUG/MINOR: map: split "add map/acl" payload keys on line breaks
The payload of "add map" and "add acl" contains one entry per line, but
the key was only split on spaces and tabs. A map line without a value
was thus merged with the next line into a single bogus entry instead of
being reported as an error, as is done for the last line. For "add acl",
whose patterns contain no space, all the lines were merged into a single
pattern, and the parser then stepped past the end of the payload, where
it only reads the payload terminator line.
Let's also stop the key on line breaks, and consider that a line without
a space or tab after the key has no value.
This was introduced in 1.9 by commit
25650ce51 ("MINOR: map: Add payload
support to "add map"") and may be backported to all stable branches.