Failure to vectorize this led to a revert of D156532, so add a PhaseOrdering test to prevent this from happening again.