Strip tab indentation in `clean` utility method

The `clean` method is intended to normalize function body indentation to
be relative to the first line. Update the implementation to support
tab-indented function bodies (in addition to space-indented bodies).