The growing compliance costs of remote work could push more employers to bring workers back to the office.