Peruvian President Pedro Castillo has survived the impeachment vote in Congress with only 55 votes in favour of his impeachment.