Selective deoxygenation of stearic acid via an anhydride pathway