Hurricane Hilary headed for Mexico's Baja California with "life-threatening and potentially catastrophic" rain and flash flooding, while officials as far north as Los Angeles scrambled to get the homeless off the streets, set up shelters and prepare for evacuations.