PADRE-9: Re-apply using xtensor for next_solutions
- Re-apply the reverted PADRE-9 changes.
- Fix issues in the original changes.
- Extend the smoothnessconstraint test, so there's also a test with one polarization.
- Small simplifications.
Edited by Maik Nijhuis