Added workaround for bug in YARN AMRMClient that requests more containers then it was asked for when asking containers in multiple allocate calls.