India signs defensive agreement with US following Himalayan standoff with China