It is not what Trump "said" before issuing the travel ban that counts.  What counts is what is "written" in the travel ban.  Trump himself is not going to enforce the travel ban.  The federal officials who will be enforcing the travel ban will be doing it based upon what is "written" in the order.  The "written" travel ban is not discriminating against religion and so should be acceptable.