Study on Safety Control of Composite Roof in Deep Roadway Based on Energy Balance Theory