Michael Lopp has headed up People Operations at both Palantir and Pinterest. Here, he explains how to fire people the right way.