3 agents injured in motel shootout