We used to resort to surgery to unblock damaged and obstructed tubes. This was a time when IVF was in its infancy and results unpredictable. The situation has since changed for the better.
IVF results are much better and the discomfort much less than undergoing surgery to unblock a tube.
It is also now not recommended as first line treatment as the damaged tube would most likely have many areas of damage and blockages that it would be very difficult to retain a healthy portion of the tube-hence the reason you have had 2 ectopic pregnancies.
Unblocking the tube surgically would unfortunately predispose you to an unacceptable risk of recurrent ectopic pregnancies.
The safest and most reasonable option would be to bypass the tube through IVF.