indent: look at and set b:did_indent

Fixes https://github.com/klen/python-mode/issues/424