G7 nations 'just one millimeter' from historic tax deal