Lhc Machine Protection System: Method For Balancing Machine Safety And Beam Availability