Resilient Submodular Maximization For Control And Sensing