President Pedro Pablo Kuczynski survived an impeachment vote in congress late on Thursday, thwarting an attempt by opposition politicians to oust him over ties to the Brazilian construction giant implicated in the region's biggest corruption scandal.