Simplify and improve autofold

* Fix folds of second level.
* Increase speed by omitting extra '=' as return values.
Update linediff submodule