The president took down several Republican foes in last night’s primaries. But there was also good news for Democrats in November.