Fix node exclusive handling in resource evacuation

Consolidated node exclusive handling code to guard against similar
bugs in the future.

Fixes OOIION-816
Break up giant method in PD matchmaker