Optimal Logical Structure of Multichannel Safety Monitoring Systems