SERVER-8000 make sharding_balance4.js test deterministic
SERVER-8000 minor other cleanup sharding_balance4.js