Run rewrite tool on tests (2)

I ran the latest version of the rewrite tool on `tests/untried/pos`. Then I also ran a script which moves those tests which fail from `tests/untried/pos` to `tests/pending/pos`.
Supersedes https://github.com/lampepfl/dotty/pull/287.