Contrail minimization through altitude diversions