Hole spin mode locking and coherent dynamics in a largely inhomogeneous ensemble of p-doped InAs quantum dots