YARN-1458. FairScheduler: Zero weight can lead to livelock. (Zhihai Xu via kasha)

(cherry picked from commit 3072c83b38fd87318d502a7d1bc518963b5ccdf7)