An arsenate reductase in the intermediate state