India and China have agreed to an expeditious disengagement of troops in a disputed border area.