A case of election arises whenever a person is entitled to one of two benefits, to each of which he has legal title; but the enforcement of both would be unconscionable and inequitable to others having claims upon the same property or fund. In such cases equity may compel an election.