Dependable Wavelength Routing with Spare Rerouting in All-Optical WDM Networks