Ensemble renormalization group for disordered systems