Federer has pulled out of next week's Paris Masters, virtually ensuring old rival Rafael Nadal will end 2017 on top of the world rankings