Resource allocation in loss networks with interchangeable resources