Investigation launched after ‘dog hit with shovel’ claim on Harrogate line