Dynamics of dark solitons in a trapped superfluid Fermi gas