Survivability Modeling and Resource Planning for Self-Repairing Reconfigurable Device Fabrics