Judge orders Detroit to withdraw bankruptcy filing