San Jose said no to letting its firefighters participate in a state-funded cancer prevention and research program — until pressure forced the city to reverse course.