Leftists beat far right in France’s snap parliamentary election