Socialists cave to center-right demands to slash EU green rules