Amid rancorous scenes in parliament, the UK prime minister insisted the best way to heal divisions was to "get Brexit done".