President declines to rule out military action after Washington evacuated personnel from Qatar command centre