The Tory leadership contender has drawn criticism for her comments