Predator-mediated competition in the chemostat