On the Structure of the Orion A Cloud and the Formation of the Orion Nebula Cluster