British Prime Minister Theresa May said on Wednesday she was prepared to quit in order to get her Brexit divorce deal approved by parliament.