Monte Carlo study of the triangular XY vector Blume–Emery–Griffiths model