British Prime Minister Theresa May said on Friday she would quit, triggering a contest next month that will bring a new leader to power who is likely to push for a cleaner break with the European Union.