White House vows to win deportation battle in court amid legal setbacks