A dramatic late goal from Baghdad Bounedjah saw Algeria snatch a 2-2 draw in the dying minutes when Burkina Faso thought they had.