Fix: scheduler: don't treat invalid duration fields as -1
Previously, we used crm_parse_int() to parse years, months, etc., from duration
fields in rules, which meant that invalid values were mapped to -1 (i.e.
subtracting 1 whatever from the duration). Now, ignore invalid values.