WeWork Wrestled With SEC Over Metric Just Before It Scrapped IPO