Party has won 218 seats in lower chamber after Democrats unsuccessfully campaigned on need to curtail ‘dysfunction’