Revert "AMBARI-6046. Lags on Assign Masters step on big cluster. (onechiporenko)"

This reverts commit 441b02580002b75cbffbf51b1fe777459181d769.