In Farewell, Obama Sets Red Lines That Would Pull Him Back Into Fray