After Facebook posts, Pa. hostage-taker surrenders