India and China have agreed on new patrolling arrangements aimed at de-escalating tensions along their disputed Himalayan border.