At least seven lawmakers who will exit Congress in January 2027 are military veterans, five Republicans and two Democrats.