A general comparison theorem for p-harmonic maps in homotopy class