Megaupload's Dotcom allowed to seek damages against NZ spy agency