The shift in legislative power away from the opposition marks a consolidation of power for President Nicolas Maduro.