The alleged attack on a Flydubai captain by his co-pilot has renewed focus on a cockpit safety rule shaped by two deadly aviation disasters.