Reprogramming microbial populations using a programmed lysis system to improve chemical production