Revert "Revert "Improved error correction for isqrt(x)""

This reverts commit 5976f6cd07b8fa5fc05f3dc680bac22abeae5a78.