We simplify obtaining the inclusion maximal faces in the function
get_next_level by outsourcing to new function is_contained_in_one.
In addition we implement contains_one for #30040.
This ticket merges cleanly with #30435.
Component: geometry
Keywords: code duplication, combinatorial polyhedron
Author: Jonathan Kliem
Branch/Commit: 5311cdf
Reviewer: Travis Scrimshaw, Samuel Lelièvre
Issue created by migration from https://trac.sagemath.org/ticket/30458