Fix #825: ParamDefs of tailrec methods should be mutable.

Considering them as immutable was fine for the purposes of JSDesugaring, but not for the inliner, causing subtle bugs.

This PR replaces #828.
Of course. I thought this handles more than one `MethodDef`.