Fix public derivation cache management + derivation path interpretation