Decried as Muslim ban, will Trump decree pass legal muster?