Dynamic Resilient Containment Control in Multirobot Systems