Path-integral solution for a Mie-type potential