Decoherence-assisted initialization of a resident hole spin polarization in a p-doped semiconductor quantum well