align  limit of template:resolve to the max arity number in templates:call-with-args
Merge pull request #13 from christophe-g/fixup

align  limit of template:resolve