Britain's Prime Minister Theresa May took a beating on Wednesday but it might have had an unexpected silver lining for her.