A federal judge has allowed bankrupt Delphi to use $250m in funding from General Motors for support until it can emerge from bankruptcy.