Madagascar beat Zim to earn Barthes Cup Promotion