The dividend in an sdiv tells us the largest and smallest possible results. Use this fact to optimize comparisons against an sdiv with a constant dividend.
Address review comments.
Closed by commit rL208999 (authored by @majnemer).