The refusal of state senators from the Pennsylvania Republican Party to elect a Democrat leads to a chaotic ceremony