Effect of Defect Clustering on Anomalous X-Ray Transmission