Regularity inheritance in hypergraphs