Former Twitter legal chief admits extended lock on New York Post’s account a mistake