Egypt overturns death penalty against ousted president