Clustering of primordial black holes formed in a matter-dominated epoch