Resolving to Which Traces Get Serviced: Sleep replay as a restless-bandit maintenance problem on an eight-arm maze…