Fix assignment operations to be safe after a move.
Added test cases to catch bug case.
Refs #8667.

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