Count retries due to scheduler races separately

Introduce the new config:
scheduler_max_race_attempts

Change-Id: I5273be78ef4336724d1b54f8c5427a0b146b92ad