Sri Lanka army 'to stop shelling'