Hamas slams Egypt court ruling on Israel 'terror' case