The UAE plans to withdraw its remaining forces from Yemen after a Saudi-backed demand, underscoring rising tensions between the two Gulf states.