Metal-poor stars. III - On the evolution of horizontal-branch stars