Exploring the Links between Structural Distortions, Orbital Ordering, and Multipolar Magnetic Ordering in Double Perovskites Containing Re(VI) and Os(VII)