A last-minute addition to a previously uncontroversial bill would largely eliminate the ability for many state employees to work remotely.