richMode/paragraphs: throw RangeErrors
richMode/paragraphs: throw RangeErrors

Previously, the paragraph operations failed for obscure reasons when a
Delta’s index was invalid; it should now be much clearer what is wrong.

lucthev/compose,lucthev/compose