Reinforced Contact Tracing and Epidemic Intervention