The president lashed out at lawmakers and undocumented immigrants, saying if they're "unhappy ... just tell them not to come. All problems solved!"