He also rejected bill that terminated DV lottery. You didn't get why I call it "Good". He wanted 25b for wall and he was given border security fund, not 25b though. Good thing is now if congress gives him wall then there might be a chance of a deal without terminating DV lottery and chain migration.
I doubt that DV will survive this negotiation since no one is really trying to save it. The priority right now is DACA and funding for the border wall.