New clustering method to reduce pileup in the Muon g-2 experiment