tighten up nightly.sh

`all` and `extensions` are about the same now, so no need to do
`extensions` separately anymore. also renumber the phases now
that headless is its own line of development and rapidly drifting
out of sync with 5.0.x and master anyway