LHCb reoptimized detector design and performance: Technical Design Report