Well, although this is sad to read, I support your decision.
Only YOU know if you are better off rehoming them or not. Sometimes life happens, sometimes it's predictable, sometimes life throws us a curve ball.
I had to rehome my animals years ago, for different reasons than yours, and it was heartbreaking. I made a conscious decision that I was in no shape to care for them (I was rarely home and never clean or sober) and found them new homes. Each time one was picked up I wore a tough guy mask, but balled my eyes out as soon as I saw tail lights leaving my driveway. Looking back, it was one of VERY few good decisions I made at that point in my life.
Any which way, only you can decide. I wish you and your piggies the best.