Reduce unnecessary operations in metaslab_passivate

This patch reduce unnecessary updates in metaslab_passivate. The function metaslab_group_sort only update the weight of metaslab.
But if the metaslab's weight <= size, zfs don't have to update the metagroup's metaslab_tree. Because its weight doesn't change.