Improved the provisioning logic to better reflect when operations centre
provided agents are no longer accepting tasks (i.e. where they have
build as many jobs as the number of executors) so that idle executors
are not counted. (Related to JENKINS-24752)