Uniqueness and characterization of local minimizers for the interaction energy with mildly repulsive potentials