Phase Diagram of the Topological Superfluid 3He Confined in a Nanoscale Slab Geometry