Greens and crossbench back 25% gas export tax, giving government numbers to pass it within weeks