If a bolt has broken off flush with the inside of a nut, first weld the two together and then use a wrench to remove both at once.