Politicians have reached agreement on a $700 billion rescue plan for the US financial system which they hope will end the credit crunch.   Republican and Democratic leaders have both backed the deal, which allows the US Treasury to spend up to $700 billion to buy bad debts from ailing banks.    The bill must still be approved by both Houses of Congress, which President Bush has urged them to do.