An ethical algorithm for rationing life sustaining treatment during the COVID-19 pandemic