The UK government has vowed to scrap a law that bans British citizens - who have lived abroad for more than 15 years - from taking part in UK elections.