Luring bacteria into an evolutionary trap to reduce treatmen