The U.S. Tax Court sided Monday with a founder of a line of knockoff baby products who claimed the company was worth about $10 million less than the IRS believed, saying the agency’s appraisal failed to consider the impact of his extramarital affair and an ensuing FBI investigation.