On treating right-censoring events like treatments