Law firm partner loses retirement age appeal