An agreement between the United States and India calls for military cooperation and is a check on Chinese aggression, U.S. Defense Secretary Mark Esper said.