Pence tells North Korea not to test American resolve, offering Syria and Afghanistan strikes as examples