PM May hits out at Labour leader for terrorism remarks