Beam physics of the 8-GeV H-minus linac