Hello,
Having the same computer listed twice under your Microsoft account does not necessarily mean you have two separate Windows licenses. The device list and Windows activation are managed separately. Removing a device from that list will not restore activation. And I will recommend against removing them.
Was it activated before then all in sudden it lost activation?
If so, can you please type cmd in the search on the taskbar and hit enter to launch command prompt, then run the following command:
slmgr /dlv
Then share a screenshot please. Thanks!
Also,
How did you obtain your license initially?
Did it come with the device preinstalled, or did you purchase it?
If you purchased it, did you purchase from Microsoft, or from third party?
Is it originally a Win7/8 key?
Just to make sure, is the motherboard changed?