Rubio said Washington’s engagement with Islamabad was intended, in part, to help discourage activities that concern India.