Afghan army cancels Pakistan visit over ‘shelling’