Availability-Aware Spare Capacity Allocation with Partially Protected Rings