Official: Firefighters to protect Yosemite 'no matter what it takes'