Fix bug in RemoveSharedIndent