MAINT: remove some unused code from multipack.h headers.

Pretty much the same code in integrate and interpolate.
MAINT: remove unused check_args function from odrpack.
Merge pull request #4247 from rgommers/remove-unused-code

MAINT: remove some unused code