Deflation for inversion with multiple right-hand sides in QCD