Sema: Give a typically small DenseMap some inline capacity.

Also reflow code a bit, no change in functionality.