The president is rightfully concerned about the fate of America’s most important military base in the Indian Ocean.