Increase Boost Python function arity only when necessary

2 jobs for arity in 116 minutes and 47 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #4876
amd64
job_clang_amd64

01:56:46

passed #4875
amd64
job_gcc_amd64

01:36:11