Minimizers for an aggregation model with attractive-repulsive interaction