West Indies beat UAE by six wickets, edge towards last-eight