The failure of rock beams: Part I—Theoretical studies