Why there needs to be a get from both husbands and how could it be a mamzer from the first husband isn’t that being oker davar min hatorah?