US military chief in Europe resigns amid NATO pressure