India and Nepal sign terror deal