Resource Depletion and Habitat Segregation by Competitors Under Predation Hazard