Interference of a first-order transition with the formation of a spin-Peierls state in α′-NaV2O5