Gov. Bob Ferguson signed a bill Friday allowing housing in most commercial areas — a high-profile initiative weakened by amendments.