Unindent only when it's relevant

In case you already unindented (previous spaces > current spaces),
it tried to unindent with a negative diff.
Merge pull request #1309 from VnC-/master

Fix unindent behavior