Prime Minister Narendra Modi’s party was set to secure its first-ever election victory in the eastern Indian state of West Bengal.