Add Mod._eval_is_nonnegative/nonpositive helpers

closes #8581
Merge pull request #8590 from skirpichev/8581-fix

Add Mod._eval_is_nonnegative helper