Deciphering the assembly pathway of type IV pili in Myxococcus xanthus