v0.0-552-g40040be: Refactor to allow deferred alignment decision.
Mostly this separates alignment calculations from the act of committing/mutating spacing values. No user-visible functional change. Still safely default to preserving spaces. Next: implement heuristics to infer user-intent. PiperOrigin-RevId: 328958542