A Fast Algorithm for Computing Availability in Networks with Dependent Failures