French President Macron convinces his environment minister to stay