Greece headed to snap elections after Syriza defeat in EU vote