A meshfree numerical method for the time-fractional diffusion equation