Senate passes final tax bill with major wins for real estate