Robust Topological Inference in the Presence of Outliers