Reconfiguration-Aware Direct-Connect AI Cluster using Spatial-and-Wavelength-Selective Switching