India, China to avoid ‘miscalculation’ along border