Andy Murray will be seeded third at the US Open after being overtaken by Rafa Nadal in the world rankings.