big.int: fix yet another truncate bug

Too many bugs have been found with `truncate` at this point, so it was
rewritten from scratch.

Based on the doc comment, the utility of `convertToTwosComplement` over
`r.truncate(a, .unsigned, bit_count)` is unclear and it has a subtle
behavior difference that is almost certainly a bug, so it was deleted.
4f47be5c6bJacob Young committed on 3/24/2025, 1:59:07 AMparent7199a86
3 files changedLine totals unavailable