If you didn't get those out already, take a cutting wheel and cut the flange parallel to the stud to release the tension. Then take a screw driver and hammer and it should come out pretty easy. M8 bolts fit in perfectly. This is a pretty common occurrence.