Remove redundant checkForInterrupt calls. Further, mod division is more
expensive than simply calling checkForInterrupt (in TokuMX).