Mechanisms for the activation of ion-implanted Fe in InP