Socialists, Greens and Les Republicains say it is ‘illusory’ to seal pact with president’s party ahead of snap poll