France's Macron says he will stay on 'until the end' of his mandate as president