Nicolas Maduro’s government has moved aggressively to wipe out what remains of resistance to his socialist rule, attempting to install a pliant leadership in congress in a move opponents compared to an attempted coup in Venezuela’s last democratic institution.