What year was Ariarathes V defeated