Fix bug(s) that cause variable reuse in function calls to fail.
Add additional test cases.
Fixes #8326.

svn path=/trunk/boost/multiprecision/; revision=83619