fix missing method

in 2.9.3 PartialFunction.empty does not exist...