Evaluate $3x^4 + 2x^2y^2 – y^4 – y^2 + 4$ if $x = \sin \left(\frac{71\pi}{7919}\right)$ and $y = \cos \left(\frac{71\pi}{7919} \right)$.