Macron 'prepared' to throw Britain a lifeline in reaching agreement with EU