The British government will mull new legislation to remove Andrew Mountbatten-Windsor from the line of royal succession.