Layout permutation problems and well-partially-ordered sets