Both were facing the death penalty in Indonesia, which has some of the strictest drug trafficking laws in the world