This cost function adds additional cost for retrying scheduling a host that was already used for a previous scheduling attempt.
The normal method of using this function is to set
retry_host_cost_fn_weight
to a positive value, so that hosts which consistently
encounter build failures will be used less often.

