Normalize indentation of replacement text based on base indentation.
Removes minimum leading whitespace from all lines, then prepends base_indent.
The base indentation string to prepend to each line