May risks handing terrorists their 'greatest victory', warns Liberty