Remove redundant IS_LOCAL() checks discovered by static asserts