Uber director resigns following comment about women