Fostering resilient execution of multi-agent plans through self-organisation