Mubarak agrees to amend Egypt's presidential election law