The two companies said that they would create a spinoff REIT for their combined office properties when the deal closes. News of the deal pushed Vereit shares sharply higher.