A compromise deal remains the best way to prevent Iran acquiring a nuclear weapon, British Prime Minister Theresa May said on Wednesday.