The death of Justice Ruth Bader Ginsburg, the second woman appointed to the Supreme Court, has injected new uncertainty into the presidential election and sparked a political fight over the vacancy on the bench.