previously, it would ignore a recursive call that has extra arguments, which can happen when the recursive functions return something of function type. Therefore just leave them extra arguments in place. Fixes #2883.
import Lean