Feeling taken for granted at work? That could prove to be a boss’s fatal error when the competition makes you an offer that’s hard to refuse.