Context-Aware Detection and Resolution of Data Anomalies for Semi-Autonomous Cyber-Physical Systems