Superinfection immunity and prophage repression in phage P1