For decades, these bases allowed the US to wage faraway wars. Now, Iran has changed that calculation.