Federal agencies say they will comply with order and restore visas, while President Trump whines about the ruling on Twitter.