The British government is considering formally removing the former Prince Andrew from the line of succession to the crown.