5 types of bosses can make work a nightmare—here’s how to deal with them