British Prime Minister Theresa May said she planned to remain in the job “for the long term” as she called on her party to come together and back her plan for Brexit.