A credit union is cashing out of its headquarters building in Pasadena, California, in an effort to expand its business while its employees work both in the office and at home in the latest sign of a business changing its real estate strategy in the pandemic.