resnapParagraphSpans

Re-snaps any spans containing ParagraphAttributeKeys to align with paragraph boundaries in the given text.

Spans that contain only SpanAttributeKeys are left unchanged. Paragraph spans whose range becomes invalid (e.g., in empty text) are removed.