Nadal pulls out of Paris Masters; will lose No. 1 ranking