Judge blocks Philadelphia law targeting masked federal officers