The flaws behind Trump’s potential state of emergency declaration over border wall