Mamata strikes deal with Gorkhas