Destroy associations in an order to prevent restriction dependencies