Theresa May’s Brexit missteps are a lesson in bad leadership