Residents have been ordered to evacuate in California’s San Bernardino County after a wildfire that was thought to have been largely contained flared up.