Add draining attributes to resource ad prior to evaluating
 MAXJOBRETIREMENTTIME. #3901