Refactored MarathonScheduler.resourceOffers